package com.zr.service.impl;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.zr.dao.BaseDao;
import com.zr.model.Way;
import com.zr.service.UpdateLineService;
@Service("updateline")
public class UpdateLineServiceImpl implements UpdateLineService{
	@Resource
	private BaseDao baseDao;
	
	@Override
	public void updateline(int lid1, String lname1, String qd1, String zd1, String way1) {
		Way w = (Way) baseDao.get(Way.class, Integer.valueOf(lid1));
		w.setLname(lname1);
		w.setQd(qd1);
		w.setZd(zd1);
		w.setTransfer(way1);
	}

}
